package Day01;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        double  in = 2.54;
        Scanner input = new Scanner(System.in);
        System.out.println("请输入需要转换的厘米数");
        double cm = input.nextInt();
        double result = cm*in;
        System.out.println(cm+"厘米转换为"+result+"英寸");
    }
}
